export default function useTime(time){
        let res = new Date(time)
        let y = res.getFullYear();
        let m = (res.getMonth() + 1).toString().padStart(2,0);
        let day = res.getDate().toString().padStart(2,0);
        let h = res.getHours().toString().padStart(2,0);
        let f = res.getMinutes().toString().padStart(2,0);
        let s = res.getSeconds().toString().padStart(2,0);
        return `${m}/${day} ${h}:${f}`
}